package ru.ifmo.network.skype.network.data;

/**
 * @author avhaliullin
 */
public class AudioDataMessage extends Message {
    private final long serialId;
    private final byte[] data;

    public AudioDataMessage(UserAddress userAddress, long serialId, byte[] data) {
        super(userAddress, MessageType.AUDIO_DATA);
        this.serialId = serialId;
        this.data = data;
    }

    public long getSerialId() {
        return serialId;
    }

    public byte[] getData() {
        return data;
    }
}
